package client.presenter;

import java.util.Stack;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import common.Settings;

@XStreamAlias("GameSettings")
public class GameSettings implements Settings {
	@XStreamAlias("GameName")
	private String game;
	
	@XStreamAlias("Moves")
	private Stack<int[][]> undoMoves;
	
	@XStreamAlias("Scores")
	private Stack<Integer> undoScore;

	public GameSettings() {
	}
	
	public GameSettings(String gameName, Stack<int[][]> moves, Stack<Integer> scores) {
		game = gameName;
		undoMoves = moves;
		undoScore = scores;
	}
	
	@Override
	public String getClassAlias() {
		return "GameSettings";
	}
	
	public String getGameName() {
		return game;
	}

	public Stack<int[][]> getMoves() {
		return undoMoves;
	}

	public Stack<Integer> getScores() {
		return undoScore;
	}
}
